﻿<%@ Page Language="C#" MasterPageFile="~/Publish/Content.master" AutoEventWireup="true"
    CodeFile="Contact.aspx.cs" Inherits="Publish_Contact" Theme="Green" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphYouAreHere" runat="Server">
    Liên hệ
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphFunction" runat="Server">
    contact
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphPageTitle" runat="Server">
    Gửi thông tin liên hệ
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphContent" runat="Server">
    <hr style="width: 90%;" />
    <script type="text/javascript" language="javascript" src="../scripts/dbtt.js"></script>
    <table width="100%">
        <tr>
            <td align="center">
                <table cellspacing="0" cellpadding="0" width="600px" border="0">
                    <tr>
                        <td style="height: 10px" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td class="describe" colspan="2">
                            Quý khách có thể liên hệ với chúng tôi bằng cách soạn thông tin theo mẫu sau. Rất mong quý khách điền các thông tin sau <strong>chính xác</strong> và <strong>đầy đủ</strong> để chúng tôi có thể liên hệ lại với quý khách một cách sớm nhất.
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 10px" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft" style="width: 400px">
                            Họ và tên <span>(*)</span>
                        </td>
                        <td class="error" style="width: 200px;">
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            <asp:TextBox onkeypress="return handleEnter(this, event);" ID="txtFullname" runat="server"
                                MaxLength="50" SkinID="txtCommon"></asp:TextBox>
                        </td>
                        <td class="error">
                            <asp:RequiredFieldValidator ID="reqFullname" runat="server" ErrorMessage="(*)" ControlToValidate="txtFullname"
                                Display="Dynamic" EnableClientScript="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            Email <span>(*)</span>
                        </td>
                        <td class="error">
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            <asp:TextBox onkeypress="return handleEnter(this, event);" ID="txtEmail" runat="server"
                                MaxLength="50" SkinID="txtCommon"></asp:TextBox>
                        </td>
                        <td class="error">
                            <asp:RequiredFieldValidator ID="reqEmail" runat="server" ControlToValidate="txtEmail"
                                Display="Dynamic" EnableClientScript="False" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="reqEmailFormat" runat="server" ControlToValidate="txtEmail"
                                Display="Dynamic" EnableClientScript="False" ErrorMessage="Email không hợp lệ" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            Điện thoại
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            <asp:TextBox onkeypress="return handleEnter(this, event);" ID="txtPhone" runat="server"
                                MaxLength="50" SkinID="txtCommon"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            Địa chỉ
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            <asp:TextBox onkeypress="return handleEnter(this, event);" ID="txtAddress" runat="server"
                                MaxLength="255" SkinID="txtCommon"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            Nội dung <span>(*)</span>
                        </td>
                        <td class="error">
                            <asp:RequiredFieldValidator ID="reqContent" runat="server" ControlToValidate="txtContent"
                                Display="Dynamic" EnableClientScript="False" ErrorMessage="(*)"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft" colspan="2">
                            <asp:TextBox ID="txtContent" runat="server" MaxLength="20000" TextMode="MultiLine"
                                Rows="8" SkinID="txtRequest"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            Mã xác nhận <span>(*)</span>
                        </td>
                        <td class="error">
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            <asp:TextBox onkeypress="return handleEnter(this, event);" ID="txtAuthentic" runat="server"
                                MaxLength="5" SkinID="txtAuthentic"></asp:TextBox>&nbsp;<img src="Authentic.aspx"
                                    alt="" border="0" align="absmiddle" />
                        </td>
                        <td class="error">
                            <asp:RequiredFieldValidator ID="reqAuthentic" runat="server" ErrorMessage="(*)" ControlToValidate="txtAuthentic"
                                Display="Dynamic" EnableClientScript="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            <span>*: Thông tin bắt buộc nhập</span>
                        </td>
                        <td class="error">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 10px;">
                        </td>
                    </tr>
                    <tr>
                        <td class="textleft">
                            <input class="search" id="btnSend" type="button" value="Gửi" name="btnSend" runat="server"
                                onserverclick="btnSend_ServerClick">&nbsp;<input class="search" id="btnReset"
                                    type="button" value="Nhập lại" name="btnReset" runat="server" onserverclick="btnReset_ServerClick">&nbsp;<input
                                        class="search" id="btnCancel" type="button" value="Trở về" name="btnCancel"
                                        runat="server" onserverclick="btnCancel_ServerClick">
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
